var a = 1
var b = 1
function sum(a, b) {
    return a + b
}
export{
    a as s1,
    b as s2,
    sum as s3
}


/* //AMD依赖前置，js可以方便地清楚依赖模块有哪些，立即加载
require([moduel],callback){
    require(['clock.js'],function(clock){
        clock.start()
    })
}

//cmd
define([
    'require',
    'dependency'
], function(require, exports,moduel) {
    var clock=require('clock.js')
    clock.start()
}); */
